import { MenuListIF } from "../../../types/types";

const HOME_ICON = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-ea893728=""><path fill="currentColor" d="M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"></path></svg>`
const ASSETS_MANAGEMENT_ICON = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-ea893728=""><path fill="currentColor" d="M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"></path><path fill="currentColor" d="M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"></path><path fill="currentColor" d="M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"></path></svg>`
const PERSON_ICON = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-ea893728=""><path fill="currentColor" d="M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"></path></svg>`
const PROCESS_MANAGEMENT_ICON = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-ea893728=""><path fill="currentColor" d="M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"></path></svg>`
const DATA_STATISTICS_ICON = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-ea893728=""><path fill="currentColor" d="M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"></path></svg>`
const DOCUMENT_MANAGEMENT_ICON = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-ea893728=""><path fill="currentColor" d="M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"></path></svg>`
const SYSTEM_ICON = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" data-v-ea893728=""><path fill="currentColor" d="M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"></path></svg>`

export const MenuList: MenuListIF[] = [
  {
    title: "首页",
    path: "/home",
    icon: HOME_ICON,
  },
  {
    title: "资产管理",
    path: "/assets-management",
    icon: ASSETS_MANAGEMENT_ICON,
    children: [
      {
        title: "园区管理",
        path: "/park-management",
      },
      {
        title: "仓库管理",
        path: "/ckgl",
      },
      {
        title: "IDC物品",
        path: "/idc-thing",
      },
    ],
  },
  {
    title: "人员管理",
    path: "/rygl",
    icon: PERSON_ICON,
    children: [
      {
        title: "值班排班",
        path: "/schedule",
      },
      {
        title: "组织结构",
        path: "/zzjg",
      },
    ],
  },
  {
    title: "流程管理",
    path: "/process_management",
    icon: PROCESS_MANAGEMENT_ICON,
    children: [
      {
        title: "加班申请",
        path: "/jbsq",
      },
      {
        title: "调休申请",
        path: "/txsq",
      },
      {
        title: "日志上报",
        path: "/txsq",
      },
    ],
  },
  {
    title: "文档管理",
    path: "/document_management",
    icon: DOCUMENT_MANAGEMENT_ICON,
    children: [
      {
        title: "报告导出",
        path: "/pgdc",
      },
      {
        title: "资料管理",
        path: "/zlgl",
      },
    ],
  },
  {
    title: "数据统计",
    path: "/data_statistics",
    icon: DATA_STATISTICS_ICON
  },
  {
    title: "系统管理",
    path: "/xtgl",
    icon: SYSTEM_ICON,
    children: [
      {
        title: "角色管理",
        path: "/jsgl",
      },
      {
        title: "用户管理",
        path: "/yhgl",
      },
      {
        title: "菜单管理",
        path: "/cdgy",
      },
    ],
  },
];
